//
// RS Game Framework
// Copyright © 2009 Jedd Haberstro
// jhaberstro@gmail.com
// 
// $Id:
//

#ifndef RS_PORTABILITY_HPP
#define RS_PORTABILITY_HPP

#define RS_PLATFORM_MACOSX      1
#define RS_PLATFORM_IPHONE      2
#define RS_PLATFORM_WINDOWS     3
#define RS_PLATFORM_LINUX       4

#define RS_COMPILER_GCC         1
#define RS_COMPILER_CLANG       2

#define RS_ARCHITECTURE_ARM     1
#define RS_ARCHITECTURE_X86     2
#define RS_ARCHITECTURE_X64     3
#define RS_ARCHITECTURE_PPC     4
#define RS_ARCHITECTURE_PPC64

#define RS_LITTLE_ENDIAN        1
#define RS_BIG_ENDIAN           2

#define RS_REAL_SINGLE          1
#define RS_REAL_DOUBLE          2

#define RS_SIMD_NONE            1
#define RS_SIMD_SSE             2
#define RS_SIMD_NEON            3
#define RS_SIMD_VFP             4

#if defined(__APPLE__) || defined(__APPLE_CC__)
#   include "rs/portability/platforms/MacOSX.hpp"
#else
#   error "Platform not supported!"
#endif

#if defined(__GNUC__)
#   include "rs/portability/compilers/GCC.hpp"
#else
#   error "Compiler not supported!"
#endif

#endif // RS_PORTABILITY_HPP
